<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<script type="text/javascript" src="../../logger.js" skinid=0 beautify=false highlighter=false ease=true simplemode=false></script>

	<script>
		window.onerror=$Error;

		function testUrl(){
			$Log.url('http://www.baidu.com',"html");
		}
		
		function testType(){
			var tundefined;
			$alert(tundefined,"#F0F8FF");//undefined测试

			var tnull=null;
			$alert(tnull);//null测试

			var tjson = {
				json:{
					jsonFunc:function(){},
					jsonj:{
						jsonjj:{
							jsonFunc:function(){},
							jsonField:"jsonField",
							jsonj:{
								jsonFunc:function(){},
								jsonField:"jsonField"
							}
						},
						jsonFunc:function(){},
						jsonField:"jsonField"
					},
					jsonField:"jsonField"
				},
				func:function(){alert(this.field);},
				field:"abc"
			}

			$alert(tjson,"#DEB887");//object对象测试

			var tdate = new Date();//日期测试
			$alert(tdate);
			
			var talert=testUrl;
			$alert(talert,"#7FFFD4");//function方法测试
			
			$alert(Number,"#7FFFD4");

			var tarray=["aaa","bbb","ccc","ddd","eee"]
			$alert(tarray,"#7FFF00");//array数组测试
			

			var tboolean=(1==2);
			$alert(tboolean,"#D2691E");//boolean布尔测试
			
			$alert($Log,"#EE82EE");
			
			var tnumber=1/3;
			$alert(tnumber,"#FAEBD7");//number数字测试

			$alert(Math);
			
			$alert(window.navigator,"#EE82EE");
			
	}

	function testDOM() {
		$alert(document.getElementById("timg"));
		$alert(document,"#F0F8FF");
	}
</script>
</head>
<body>
<a href="../../example.htm"><img id="timg" src="../kingfishers.PNG" align=left border=0></img></a><br>
<input type="button" value="各种类型输出" style="height:40px" onclick="testType()">
<input type="button" value="DOM元素输出" style="height:40px"  onclick="testDOM()">



</body>
</html>